package com.uduemc.biso.core.feign.fallback;

import org.springframework.stereotype.Component;

import com.uduemc.biso.core.extities.center.AuthorizeModelAction;
import com.uduemc.biso.core.feign.AuthorizeModelActionFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

@Component
public class AuthorizeModelActionFeignFallback implements FallbackFactory<AuthorizeModelActionFeign> {

	@Override
	public AuthorizeModelActionFeign create(Throwable cause) {
		return new AuthorizeModelActionFeign() {

			@Override
			public RestResult updateByIdSelective(AuthorizeModelAction authorizeModelAction) {
				return null;
			}

			@Override
			public RestResult updateById(AuthorizeModelAction authorizeModelAction) {
				return null;
			}

			@Override
			public RestResult insertSelective(AuthorizeModelAction authorizeModelAction) {
				return null;
			}

			@Override
			public RestResult insert(AuthorizeModelAction authorizeModelAction) {
				return null;
			}

			@Override
			public RestResult findOne(Long id) {
				return null;
			}

			@Override
			public RestResult findByModelId(long modelId) {
				return null;
			}

			@Override
			public RestResult findAll() {
				return null;
			}

			@Override
			public RestResult deleteById(long id) {
				return null;
			}
		};
	}

}
